<?php
include 'curl.php';

$obj = new curl();

$input = $_REQUEST;
$api = $input["api"];
unset($input['api']);

$obj->send($api,$input);